|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Python & OSX
Be kind I am fairly inexperienced with UNIX and installing software.
I want to be able to run python with Apache on OSX. I have Apache up and running fine with PHP4 and Mysql. I also have Python installed. I can run python programs through the command line and such. But I cannot run python scripts with Apache? How would I be able to get Apache and Python to work together? E. |
|
#2
|
|||
|
|||
|
Where are your cgis?
Are your cgis in /Library/WebServer/CGI-Executables ?
Are you sure you have the right path set in the #! line? (run the cgi from a command line to check - if it says it can't find python, that's your problem) Are your cgis marked executable? chmod +x /path/to/cgi to be sure jpb |
|
#3
|
|||
|
|||
|
I acutally got it working. It was a combination of stupid mistakes and assuming something needed to be done when it didn't.
|
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Python Programming > Python & OSX |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|