forked from sig_core/toolkit
8 lines
198 B
Bash
8 lines
198 B
Bash
|
#!/bin/bash
|
||
|
r_log "httpd" "Test basic php"
|
||
|
|
||
|
echo "<?php echo phpinfo(); ?>" > /var/www/html/test.php
|
||
|
curl -s http://localhost/test.php | grep -q 'PHP Version' > /dev/null 2>&1
|
||
|
|
||
|
r_checkExitStatus $?
|