forked from sig_core/toolkit
7 lines
198 B
Bash
Executable file
7 lines
198 B
Bash
Executable file
#!/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 $?
|