Ask Question Forum:
Model Library:2025-02-08:A.I. model is online auto reply
C
O
M
P
U
T
E
R
2
8
Show
#
ASK
RECENT
←
- Underline
- Bold
- Italic
- Indent
- Step
- Bullet
- Quote
- Cut
- Copy
- Paste
- Table
- Spelling
- Find & Replace
- Undo
- Redo
- Link
- Attach
- Clear
- Code
Below area will not be traslated by Google,you can input code or other languages
Hint:If find spelling error, You need to correct it,1 by 1 or ignore it (code area won't be checked).
X-position of the mouse cursor
Y-position of the mouse cursor
Y-position of the mouse cursor
Testcursor
caretPos
Attachment:===
Asked by duncanb7
at 2024-11-13 06:04:10
Point:500 Replies:2 POST_ID:828787USER_ID:11059
Topic:
PHP Scripting Language;C++ Programming Language;Facebook
After finishing complicated hiphop HHVM installation on CentOS successfully, I can run
simple php script like as follows with hhvm command. I save the script it in test.php.
<?php echo "This is first HIPHOP example test on browser<br>"; ?>
At my VPS server's linux shell, I run the command at hhvm direcotory as follows
root@vps[/home/dev/hiphop/hiphop-php/hphp/hhvm/]# ./hhvm test.php
and it successfully echo out "This is first HIPHOP ...." that is no issue
and it prove my hiphop HHVM installation is done correctly.
Now My question is how I can echo out the test.php output on my browser ?
after I create configure file, /etc/hhvm.hdf , and change its port from 80 to 8080 that change help not to affect apache port 80 wbeserver operation, and
add "test.php" at line 27 in code area
And then I did command for
root@vps[/home/dev/hiphop/hiphop-php/hphp/hhvm/]#hhvm -m server -c /etc/hhvm.hdf
where mylogin is my VPS server user acoount
And I go to browser and type www.mysite.com:8080 but it didn't
echo the test.php output result and report no file is found.
Why ?
Coud you provide simple instruction to finish my "hhvm test.php " on browser
as on linux shell ?
Please advise and appreciated your help
Duncan
HHVM.HDF file
=================
simple php script like as follows with hhvm command. I save the script it in test.php.
<?php echo "This is first HIPHOP example test on browser<br>"; ?>
At my VPS server's linux shell, I run the command at hhvm direcotory as follows
root@vps[/home/dev/hiphop/hiphop-php/hphp/hhvm/]# ./hhvm test.php
and it successfully echo out "This is first HIPHOP ...." that is no issue
and it prove my hiphop HHVM installation is done correctly.
Now My question is how I can echo out the test.php output on my browser ?
after I create configure file, /etc/hhvm.hdf , and change its port from 80 to 8080 that change help not to affect apache port 80 wbeserver operation, and
add "test.php" at line 27 in code area
And then I did command for
root@vps[/home/dev/hiphop/hiphop-php/hphp/hhvm/]#hhvm -m server -c /etc/hhvm.hdf
where mylogin is my VPS server user acoount
And I go to browser and type www.mysite.com:8080 but it didn't
echo the test.php output result and report no file is found.
Why ?
Coud you provide simple instruction to finish my "hhvm test.php " on browser
as on linux shell ?
Please advise and appreciated your help
Duncan
HHVM.HDF file
=================
Server { Port = 8080 SourceRoot = /var/www/}Eval { Jit = true}Log { Level = Error UseLogFile = true File = /var/log/hhvm/error.log Access { * { File = /var/log/hhvm/access.log Format = %h %l %u %t "%r" %>s %b } }}VirtualHost { * { Pattern = .* RewriteRules { dirindex { pattern = ^/(.*)/$ to = $1/test.php qsa = true } } }}StaticFile { FilesMatch { * { pattern = .*.(dll|exe) headers { * = Content-Disposition: attachment } } } Extensions { css = text/css gif = image/gif html = text/html jpe = image/jpeg jpeg = image/jpeg jpg = image/jpeg png = image/png tif = image/tiff tiff = image/tiff txt = text/plain }} 1:2:3:4:5:6:7:8:9:10:11:12:13:14:15:16:17:18:19:20:21:22:23:24:25:26:27:28:29:30:31:32:33:34:35:36:37:38:39:40:41:42:43:44:45:46:47:48:49:50:51:52:53:54:55:
Author: duncanb7 replied at 2024-11-17 02:27:49
Author has solved it finally
Accepted Solution
Author: duncanb7 replied at 2024-11-17 02:26:14
during some experts to solve the yum install issue in following link , the suddenly hiphop is up
http://www.experts-exchange.com/Programming/Languages/C/Q_28296049.html#a39653816
http://www.experts-exchange.com/Programming/Languages/C/Q_28296049.html#a39653816