close ad
WARNING PC USERS: Do Not Install the DREAMWEAVER CC 2017 Update »
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Multiple PHP.INI files

Thread began 8/11/2009 11:07 pm by robp295024 | Last modified 8/26/2009 6:28 pm by Jason Byrnes | 2572 views | 5 replies |

robp295024

Multiple PHP.INI files

Apologies if this a really stupid/obvious thing... I am afflicted by having to convert from ASP/Access to PHP/MySQL and am having "newbie issues"... :(

This problem arose after installing PowerStore on to my server.
The Contact Form App from WA stopped working with a "500 error"

The only culprit I can determine is a problem in the 2 apps and PHP.

basically, my question is how do you maintain 2 (or more) "different" INI files for PHP on a IIS 7.0 server?

Thanks in advance...
Rob

Sign in to reply to this post

Eric Mittman

Your PHP setup should only load a single ini file for the settings. It will look in the C:\windows directory and your local install directory for php. If you create a phpinfo page it will show you which ini file is loaded. An info page is any php page that has this code in it:

<?php phpinfo(); ?>

If you don't have one already create a new page and have just this in it. You should be able to see the setup info for your php including the loaded ini file. If you cannot view the page then this would indicate that there is an issue with your server setup in IIS. If you do get an error here post back with the exact error message text if you need help with it.

Sign in to reply to this post

dvpapa51386826

Problems with installing PHP

Hello everyone, I have experince in dreamweaver and flash CS3, creating basic or static web pages, and animation for web designs in the internet. But I wanted to break away from just the ordinary web design and try to create dynamic web pages, by using PHP & MySQL...
Well I have my computer set up to do so, but I cant seem to manage on installing PHP nor MySQL...I already have a Wampserver installed, along with Apache, But from there on I am stomped on what to do next...I tried doing dreamweaver toutorial on having dreamweaver on how to create php pages, but I still can not view my work when executing F12...Any thought's on that please?

[examples: www.cmsdemo.eunet.gr/ is just the animation on the header....(2nd)...djp-design.com/ this is just a sight I did for fun with]

Sign in to reply to this post

Jason ByrnesWebAssist

Wamp Creates the folder:
c:\Program Files\wamp\wwwroot

as the root of the website.

Files in this folders are served to the browser at the address:
localhost.

Create a sub directory of that folder for you Dreamweaver site such as:
c:\Program Files\wamp\wwwroot\myWebsite

On the Local Info tab of the site definition set the Local Root Folder to this locatyion.

On the Testing Server Tab, set the server model to PHP MySQL and set the Access to local / Network.

The testing server folder should also be set to:
c:\Program Files\wamp\wwwroot\myWebsite

and the URL Prefix should be:
myWebsite

Sign in to reply to this post

robp295024

reply for Eric

I tried that phpinfo page Eric; created a new blank page in my main site - but it always displays as a blank page.

IIS says PHP is installed etc - so am in a bit of a quandary
Rob

Sign in to reply to this post

Jason ByrnesWebAssist

When a php page displays blank, it means that a php error has occurred but the host has turned of error reporting. Some host's will allow error reporting to be turned on for debugging purposes by placing the following code block at the 1st line of your page:

php:
<?php

error_reporting
(E_ALL);
ini_set('display_errors','on');
?>
Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...