Since self-explaining text didnt work, I will make it 50 times shorter. I'm on Ubuntu 11.10 with XAMPP and other stuff in /opt/lampp/ How to add python there?
Installing Python on Apache
1.7k Views Asked by Gundars Mēness At
2
There are 2 best solutions below
3
speeves
On
I realize that you already have an installed version of apache, but the Apache2 deb packages are quite complete on Ubuntu. If you just want to get up and running, you could just
sudo apt-get install libapache2-mod-python
and that should pull in all of your dependencies. You would need to either shutdown the /opt installed apache, or just set the deb-packaged Apache to Listen 8080 (or some such). the conf files are in /etc/apache2.
Also, if you want to see what else is available form the repos, (everything you have installed is in there):
sudo apt-cache search apache2
Good luck! speeves
Related Questions in PYTHON
- How to store a date/time in sqlite (or something similar to a date)
- Instagrapi recently showing HTTPError and UnknownError
- How to Retrieve Data from an MySQL Database and Display it in a GUI?
- How to create a regular expression to partition a string that terminates in either ": 45" or ",", without the ": "
- Python Geopandas unable to convert latitude longitude to points
- Influence of Unused FFN on Model Accuracy in PyTorch
- Seeking Python Libraries for Removing Extraneous Characters and Spaces in Text
- Writes to child subprocess.Popen.stdin don't work from within process group?
- Conda has two different python binarys (python and python3) with the same version for a single environment. Why?
- Problem with add new attribute in table with BOTO3 on python
- Can't install packages in python conda environment
- Setting diagonal of a matrix to zero
- List of numbers converted to list of strings to iterate over it. But receiving TypeError messages
- Basic Python Question: Shortening If Statements
- Python and regex, can't understand why some words are left out of the match
Related Questions in APACHE
- Special access rule in an .htaccess file for IP addresses, authorized only for one directory structure
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- Cannot load modules/mod_dav_svn.so into server
- How to ignore case in regexp mapping in a .htaccess rewrite rule?
- Oracle Http server ISNT-07551
- I cant access file directory with PHP local host on XAMPP. it just shows one of the files I have in my visual studio code
- Apache Reverse Proxy: only one proxy directive is working. Second one is ignored
- Issue with Django --> Apache WSGI deployment
- changing the node version used by apache web server
- Apache: How can I redirect to a subfolder with a URL param but serve required content via the main URL?
- Why/How does Apache auto-include "DHE" TLS1.2 ciphers while nginx needs "dhparams" file?
- Set up MX records in apache/Ubuntu to point to external mail server
- How to proxy to another port?
- Php can not upload file out of /var/www/html even after disabling Selinux
- Serve static site on S3 + CloudFlare with Apache retaining the source URL
Related Questions in XAMPP
- How to isolate PHP apps from each other on a local machine(Windows or Linux)?
- 403 Forbidden Error when accessing any file or path
- I cant access file directory with PHP local host on XAMPP. it just shows one of the files I have in my visual studio code
- Is there a solution to this problem in PHP?
- Updating PHP Version in XAMPP on Windows 10 Without Losing Database: Seeking Optimal Solutions
- how to setup php 8.3 with Apache on Loacl machine(in window 10)
- xampp-windows-x64-8.2.12-0-VS16-installer security issues
- XAMPP already installed on the MacBook, MySQL and phpMyAdmin not starting
- Auto redirect 127.0.0.1:8000 to 127.0.0.1:8000/app/
- Localhost Not Working After Creating Virtual Host in XAMPP
- Deploying a Spring Boot and Angular application on XAMPP on a different server
- Running a program on different computers with different users that access a central database simultaneously - VB.NET XAMPP/MySQL
- Access-Control-Allow-Origin error, even though cors is enabled
- laravel bootstrap/cache write permission
- "Setting Up Laravel on Windows with XAMPP and Composer: Best Practices?"
Related Questions in LAMPP
- upgrade PHP 7 to PHP 8.2 in LAMPP Ubuntu
- xampp 403 forbidden in a linux server
- PHP MongoDB Driver for LAMPP - Ubuntu 22.04 LTS
- Error when installing Imagemagick 3.7.0 in XAMPP for Linux 8.2.4 (Lubuntu 22.04.2 LTS)
- How to add code that fixes urls in httpd.conf
- Why is LAMPP making a copy of every single file in the project folder, as " ._. " format, ( e.g., ._.index.php) when moving the folder to vsc?
- XAMPP: Starting Apache...fail. when running exampp in ubuntu
- letsencrypt renewal fails ubuntu server (LAMPP installation)
- Is there any fix for Xampp Object not found?
- How to view error logs when mysql server is not starting in lampp
- PHP File Upload Configuration Not Working?
- How to Configure PgAdmin4 to Use Apache2 from LAMPP?
- Xampp-Lampp fedora linux localhost is currently unable to handle this request. HTTP ERROR 500
- Redirect HTTP to HTTPS .htaccess
- TCPDF unable to output file by saving. Path on Mac?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
On Ubuntu, you can install mod_wsgi like this :
Use the python version you're more confortable with AND that will be compatible with the libs you're using :)