I have recompiled python2.7.11 using: I have installed django and all the dependencies checking that the pip is located in my new python version I uninstalled the packaged version of mod_wsgi and I have linked mod_wsgi to the new version of python by: When I restart apache both 2.7.6 and 2.7.11 seem to be sta…
Tag: apache
Php.ini changes are not taken on Linux Bitnami Ubuntu
I am using a LAMP stack from Bitnami with Ubuntu. I am trying to increase post_max_size in file php.ini. I changed these values: Then reset with sudo /opt/bitnami/ctlscript.sh restart php-fpm (taken from the Bitnami documentation). No changes take effect. I have tried removing all the text from php.ini. I get…
Having Apache httpd listen on port 80, but not started as root?
I would like to have my Apache httpd launch as non-route user (httpd) and still listen on port 80/443. This server will be running on a Linux host. Given that the first 1024 ports are reserved, how would I go about having a reserved port handled by a non-root daemon? Alternatively, can I run my apache on a no…
Remote access to web server on linux
I have access to a server running CentOS 6.7 on which I installed apache and configured the /etc/httpd/conf/httpd.conf file. I can see the webpage if I ssh to the server and run but I would like to access it using a real browser. If I try to access it from my computer, it tells me that this webpage is unavail…
Where is mod_passenger.so, installed with yum?
I have a combo of Centos 6-Apache-Passenger-Ruby. Install was made following instructions here. I also have whm, which means changes to httpd.conf must be made by click. While trying to include /etc/httpd/conf.d/*.conf, tells me there is an error because: Cannot load /usr/local/apache/modules/mod_passenger.so…
CGI script not executing bash commands such as ‘CP’
I have a web server (apache2) set up to execute files with a .cgi file extension. This works for some commands. However, I need it to copy the file /var/www/on.html to the location of /var/www/a1.html. I am using Debian Linux. The script is as follows: I am using cp to copy a html webpage with a green backgro…
cron-job linux apache ssl
I have a server installed with apache2 and drupal 6. In my server, I have installed a module which need to use cron. I have a SSL certificate installed too. In my crontab y have this configuration: My server work but if I write this configuration in my sites-enabled/000-default: my module with cron stops work…
Cannot access to CentOS from MS Windows via http
I have got installed CentOS 7 under virtual envirment. It has proper hostname so I can ping it and it has acccess to internet inside of it and I can ping by IP and host name outside of it. Also It has working Apache and its test page is fine that has been checked locally. Now I would like to
PHP popen Application cannot open shared object
I’ve created a simple C++ Application with the boost framework. The Application is running correct from the command line. After this I’ve created a PHP file with a popen to this binary. After visiting the website I’ve got the following error message from apache2/error_log System is openSuse …
PHP: creates file but can’t append with (apparently) correct server permissions (LAMP)
I have seen many questions and answers on this topic but none seem to help my situation. My PHP code is successfully creating a new logfile, but then cannot access that file to append further info, close it, etc. I am migrating an application from local XAMPP onto LAMP: hence problem only showing up now due t…