Javier from Argentina
Jul 11 2009, 08:00 AM
Hi! I need your help. I write php code in my page.html, but not executing when i upload this page to zymic.com
I have configurate something. Sorry by question. I`m rookie and my english is very poor. Thanks!
The code is the simple <?php echo "Hello world" ?>. When i test the page in the localhost (generated wiht wampp server 2) in my pc desktop, the page work good. What`s wrong? Thanks very much again.
Javier from Argentina.
Jacob
Jul 11 2009, 08:06 AM
The reason for this is:
QUOTE
I write php code in my page.html
To be executing PHP you need to save with a .php extension. Also, do not make multiple topics regarding your issues. One is enough.
Jacob.
Javier from Argentina
Jul 11 2009, 08:18 AM
"One is enough" !! Thanks. In my localhost, i configutared the file httpd.conf for work with .html and .php files extensions. Is posible that in zymic.com?. In zymic, the principal file must by index.html for ever? Is posible other name and extension file? You sayd, i need the .php extension for executing php code.
Thanks again.
Javier from Argentina
Jacob
Jul 11 2009, 08:23 AM
Yes. Providing there is index.* in your directory, your pages will always load. So, yes, you may rename it to index.php
Jacob.
Javier from Argentina
Jul 11 2009, 08:35 AM
Ok Jacob. Thanks for your time! About of change the configuration with a file in the server zymic.com, is posible? How? Thanks
Jacob
Jul 11 2009, 09:49 AM
You need to be a little more specific regarding your question as I don't understand fully.
Zymic Hosting only has one php.ini (config file) per server...not per user. So this file is not able to be changed.
Jacob.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.