On Mon, Mar 30, 2015 at 11:51 AM, Ethan Rosenberg < erosenb...@hygeiabiomedical.com> wrote:
> Dear List - > > When I call another page in PHP, Apache can take 5 to 10 minutes to open > the page. > > Example: > > <script type="text/javascript"> > <!-- > window.location.assign("http://localhost/HandleWeight.php > "); > //-->\ > </script> > > can take 5 - 10 min. > Would it be possible that the PHP script is the one slow? Could you measure the execution time of the script? > > > root@meow:/var/www# /usr/sbin/apache2 -V > > Config variable ${APACHE_LOCK_DIR} is not defined > > --> Mutex file:${APACHE_LOCK_DIR} default > > > > Config variable ${APACHE_PID_FILE} is not defined > > --> # PidFile: The file in which the server should record its > > process > > # identification number when it starts. > > # This needs to be set in /etc/apache2/envvars > > # > > PidFile ${APACHE_PID_FILE} > > /etc/apache2/envvars > > --> export APACHE_PID_FILE=/var/run/apache2/apache2$SUFFIX.pid > > > > > > Config variable ${APACHE_RUN_USER} is not defined > > Config variable ${APACHE_RUN_GROUP} is not defined > > --> # These need to be set in /etc/apache2/envvars > > User ${APACHE_RUN_USER} > > Group ${APACHE_RUN_GROUP} > > /etc/apache2/envvars > > --> export APACHE_RUN_USER=www-data > > export APACHE_RUN_GROUP=www-data > > > > > > Config variable ${APACHE_LOG_DIR} is not defined >> this error > > message appears 5 times?? > > --> ErrorLog ${APACHE_LOG_DIR}/error.log > > > > > > AH00526: Syntax error on line 74 of /etc/apache2/apache2.conf > > --> I tried to strip out the comments, and came up with less than > > 74 lines. > > > > > > Invalid Mutex directory in argument file:${APACHE_LOCK_DIR} > > --> See above. > > > root@meow:/home/ethan/BluBev# ps -A |grep apache2 > 11972 ? 00:00:30 apache2 > 22196 ? 00:00:00 apache2 > 22197 ? 00:00:00 apache2 > 22198 ? 00:00:00 apache2 > 22199 ? 00:00:00 apache2 > 22200 ? 00:00:00 apache2 > > Totally confused. > > TIA > > Ethan > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org > For additional commands, e-mail: users-h...@httpd.apache.org > > -- Marcos | I love PHP, Linux, and Java <http://javadevnotes.com/java-string-to-double-examples>