You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
269 B
11 lines
269 B
12 months ago
|
#!/bin/sh
|
||
|
# Author: Athmane Madjoudj <athmanem@gmail.com>
|
||
|
|
||
|
t_Log "Running $0 - httpd: can parse a phpinfo/PHP page"
|
||
|
|
||
|
echo "<?php echo phpinfo(); ?>" > /var/www/html/test.php
|
||
|
|
||
|
curl -s http://localhost/test.php | grep 'PHP Version' > /dev/null 2>&1
|
||
|
|
||
|
t_CheckExitStatus $?
|