PHP5 IIS6 Permissions

Feb 5, 2008

we've been installing a web-app on a domain controller at work. Previously the app ran on WAMP but the new server has to run IIS, though PHP and MySQL is acceptable for now.

We've jumped through hoops to get it working as well as it is now, but we've hit a few snags which seem common, but none of the solutions work for us.

We were having problems where the MySQL extensions for PHP could not be loaded because of access rights. When we look at a phpinfo() output the MySQL information is completely missing. This happens with any user set in the application pool with the exception of Administrator. When we make that user the one that runs that application pool then the MySQL extensions load fine and the whole system works perfectly. Even if we change it to another admin user the system still won't work.

View 8 Replies


ADVERTISEMENT

PHP On IIS6

Jan 17, 2007

I am fairly new to managing an IIS 6 server and recently installed PHP 5. I am still learning about ISAPI and ISAPI filters. In the WSE within IIS Manager I have allowed PHP to be used. Is PHP running as an ISAPI application and if so why would no filter be showing up in the ISAPI filters property box of the website? Everything works fine, I am just trying to get a better grasp of this issue.

View 0 Replies View Related

URL Redirect On IIS6

Feb 11, 2009

I have a web application built with PHP which uses the MVC design pattern.

The application forwards all requests through index.php.

I am using IIRF (similar to mod_rewrite - IIS6 has no native rewrite module) to rewrite all requests through the index.php file and this is successful.

My application has several "modules" which I wish to be accessible via different URLs. For example the following is how I wish to set up my URLs: ...

View 3 Replies View Related

SSL Certificates For IIS 5 And IIS6

May 26, 2008

a few migration of domains from IIS 5 to IIS 6, these have SSL certs, wonder can the SSL certs of IIS 5 be used on IIS 6? Anyone tried that before?

View 2 Replies View Related

Compression In IIS6

Apr 9, 2008

I have enabled compression in IIS6 on win2k3 server and the dynamic compression is working lovely but the static compression is not functioning. I have double checked the metabase settings and permissions on the Temp Folder (IUSR write permissions) but nothing is ever written to the folder and my static files (htm,html) are not sent with compression! FWIW I can compress them by adding the filetype to the dynamic compression metabase string and they work but this is not efficient. I think I must have overlooked something...

Here are the metabase values:

<IIsCompressionSchemeLocation ="/LM/W3SVC/Filters/Compression/deflate"
HcCompressionDll="%windir%system32inetsrvgzip.dll"
HcCreateFlags="1"
HcDoDynamicCompression="TRUE"
HcDoOnDemandCompression="TRUE"
HcDoStaticCompression="TRUE"
HcDynamicCompressionLevel="9"
HcFileExtensions="htm
html
txt"
HcOnDemandCompLevel="9"
HcPriority="1"
HcScriptFileExtensions="asp
dll
php"
>
</IIsCompressionScheme>
<IIsCompressionSchemeLocation ="/LM/W3SVC/Filters/Compression/gzip"
HcCompressionDll="%windir%system32inetsrvgzip.dll"
HcCreateFlags="1"
HcDoDynamicCompression="TRUE"
HcDoOnDemandCompression="TRUE"
HcDoStaticCompression="TRUE"
HcDynamicCompressionLevel="9"
HcFileExtensions="htm
html
txt"
HcOnDemandCompLevel="9"
HcPriority="1"
HcScriptFileExtensions="asp
dll
php"
>
</IIsCompressionScheme>
<IIsCompressionSchemesLocation ="/LM/W3SVC/Filters/Compression/Parameters"
HcCacheControlHeader="max-age=86400"
HcCompressionBufferSize="8192"
HcCompressionDirectory="C:WINDOWSIIS Temporary Compressed Files"
HcDoDiskSpaceLimiting="FALSE"
HcDoDynamicCompression="TRUE"
HcDoOnDemandCompression="TRUE"
HcDoStaticCompression="TRUE"
HcExpiresHeader="Wed, 01 Jan 1997 12:00:00 GMT"
HcFilesDeletedPerDiskFree="256"
HcIoBufferSize="8192"
HcMaxDiskSpaceUsage="99614720"
HcMaxQueueLength="1000"
HcMinFileSizeForComp="256"
HcNoCompressionForHttp10="FALSE"
HcNoCompressionForProxies="TRUE"
HcNoCompressionForRange="FALSE"
HcSendCacheHeaders="TRUE"
>
</IIsCompressionSchemes>

View 0 Replies View Related

IIS6 Defacer

Feb 22, 2007

A client of mine suffered repeated attacks on his web pages defaced with msg

New Priv8 Bug In iis6

I can't seem to be able to solve for him, have arranged hardening of his server, have done root kit scans etc all came out to nothing.

Is there any IIS 6 bug that is not patched that can cause this?

View 9 Replies View Related

Imagemagick And IIS6 - How Do They Communicate?

Mar 15, 2005

I've installed Imagemagick on our server and tested that it works using the little test that you do at the end of the installation. All is fine.

However, in order for my web site to seeuse it I assume I need to tell IIS 6 about it's presence? If so, how do I do it? If not, do I just need to allocate permissions to the Imagemagick folder (eg IUSR)?

View 0 Replies View Related

Do Not Allow To Download Images IIS6

Mar 1, 2008

I have virtual folder in IIS6 which has asp file as default and several jpg files. How to prevent JPG files download from server? I want to let execute asp file only and do not let users download jpg files.

View 0 Replies View Related

Webdav Trouble With IIS6

Oct 29, 2008

I am having trouble setting up webdav on IIS6. I wasted all day on this today.

So far I have set it up to work over the internet with anonymous access.

Now I want to turn on:

1) basic authentication

2) SSL

I try to turn on (1) but:

- when try to access over the internet, it prompts for my login but it doesn't accept the login and keeps reprompting me.

- when I try to access from the local server, it seems to accept the login but gives an error 'the folder you entered does not appear to be valid, please choose another'

I have created a new user who has permission to access both the directory on the server and the virtual directory in IIS. I have turned on the webdav extension. I have tried reinstalling IIS too.

View 1 Replies View Related

Viewing Iis6 Websites From My Mac

Jun 15, 2008

i recently set up a new testing web server(iis6), but can't view any of my websites hosted on my mac (osx leopard). I can ping the server from the mac, and RDP with out any problems, just can't view any websites. i've tried using the ip of the server (192.168.1.15) in the browser the server name but still no luck. server firewal has been disabled

View 3 Replies View Related

IIS6 Stat Software

Jan 23, 2008

web stats software for my server.

Need the basics stuff like hits, but path analysis would be awesome.

I thought maybe if it was an IIS extension, that would be good?

Anyways, i was wondering who the major players are out there, and which ones are popular. I am willing to get a paid one.

I'm told smart stats is good.

View 2 Replies View Related

Host Headers In IIS6 On Server 2k3

Jan 22, 2008

I am attempting to change the host headers on my site that take my domains and forward them out to another domain.

My problem is that if a person type in [url], it brings them to my site and every link of the site is then [url]instead of redirecting it to my intended [url]

View 0 Replies View Related

Custom Error Pages On IIS6

Nov 30, 2008

My site is hosted on a friends server, which is in his office on a 24MB Business ADSL connection, and is running Server 2003 Enterprise.

I thought i'd try and set up custom error pages for my site last night, but for whatever reason, I can't get them working.

I did a test page with random text, and named it 404.htm.

I then did a file with the following in:

<Files .htaccess>
order allow,deny
deny from all
</Files>
ErrorDocument 404 /404.htm

I then renamed the file to .htaccess after uploading both of the files.

However, when I tried entering a non existant page url, the normal IIS 'page cannot be found' error came up.

In addition, the .htaccess file was still visible when I connected via ftp again.

Now I think of it, I can understand the file not ending up invisible, since files with a . in front are most commonly used on *nix OS's.

However, that wouldn't explain the error page not working.

Is there something I need to get the person who owns the server to do to get it working, or am I doing it completely the wrong way for a Windows machine?

should have done a search before posting really.....I was doing it the wrong way, and I will need to get him to do it, as it needs setting up in the IIS config.

View 14 Replies View Related

Windows Server 2003/IIS6/PHP

Mar 27, 2007

When ever I edit php.ini the changes are not reflected in my PHP applications (I check using phpinfo). Even after restarting IIS (Right click on the computer in IIS > All Tasks > Restart IIS) the changes are not reflected.

The only way I found out how to update the changes is by restarting the whole server, but this is not pratical.

How can I get the edits in php.ini to reflect in my PHP applications without having to restart the whole server?

View 3 Replies View Related

How To Know Who Overloaded The IIS6 In Windows Server 2003

Feb 15, 2008

how to trace or know who is overloading IIS in windows 2003 server?

When i check in the task manager , i saw sometimes w3wp.exe (IIS Worker Process) using high CPU usage for long time. That cause the server to be sluggish and sometime not responding.

Any tips or software that can tell which websites that cause the overload?

View 6 Replies View Related

Change Ssh Certificates From 1024 To 2048 On IIS6 For Godaddy

Nov 3, 2009

I use an SSL certificate on IIS6 for Outlook web access.

I have to renew in the next few days.

Now I find that Godaddy have changed the minimum bit length from 1024 to 2048, but the Microsoft Wizard doesn't give me the chance to change the bit length when I try to generate the CSR file.

If I remove the certificate and generate a new certifcate CSR will I be OK? (I can stand a little downtime - it's a small organisation).

Do I have to get all the text the same as when I first requested the SSL certificate? Or just the URL bit?

View 2 Replies View Related

Troubleshooting Tips On IIS6 And An Exchange 2003 Server

Jan 30, 2009

Customer wants to move his website in-house along with his email. The hardware guy installed a windows 2003 64-bit exchange server. I logged in with logmein and created a directory c:Inetputwwwroot hewebsite. Copied iisstart.html to the new dir. Put the company name in the iisstart file. Opened IIS6. Went to properties of the default website and pointed to the new directory on the home dir page. Added iisstart.html the Documents page and moved it to the top. Closed everything. Opened Internet Explorer 7 and put in http://localhost. All worked well. Brought up the new start page. Opened IE7 on my pc and put there ip address in and it also brought up the new webpage (tested the port 80 in the router). Said we were ready to go.

The hardware guy sent me an email stating that he was having problems with the 64-bit version and took the server back to the 32-bit version of windows exchange server. I logged back in with logmein and followed the same exact steps as above but it will not show the new webpage. Am getting a page not found error.

I have done the above on several 2003 servers and several xp pro machines. Always works.

Have done one 2003 exchange server. Went to a couple of those servers and made sure the default website settings were exactly the same as the ones that work. Still no help.

Downloaded an iis6 troubleshooting program from microsoft but cannot locate the error. I have been studying the II6 documentation and 2003 exchange server documentation. Went thru all the tutorials in google on iis6 and exchange I can find no help.

View 1 Replies View Related

Plesk 12.x / Windows :: Migration Tool To Move Websites From Old IIS6 To New IIS8.5 Server

Jan 23, 2015

We are migrating an existing multi-site Windows2003/IIS6 web hosting system with

CFusion8
MS Access backend databases
SQL2000 backend databases
http and https site access

to

Windows2012 R2/IIS8.5 with
CFusion10
MS Access backend databases (not updated)
SQL2014 databases
http and https site access

On the new system we are looking to add Plesk12 to give users easier management of their own websites.I am about to install the trail version of Plesk12 WebHOST.I have the following questions:

1. Can we use the plesk migration tool to move the websites from the old IIS6 to the new IIS8.5 server?
2. If not, am I right to think we would migrate from IIS6 to IIS8.5 manually and then import these websites into Plesk12 from the new server?
3. Can I migrate the existing websites piecemeal over onto the new server and into the Plesk control panel at the same time as creating brand new websites under the control panel?
4. Once Plesk is installed on the new IIS server is there a KB article on how to add all these existing websites to Plesk - I could not find one.
5. Is the local windows administrator account used for the install used to run any services?

View 9 Replies View Related

PHP5 Into My IIS Server

Jan 1, 2009

I have just installed PHP5 into my IIS server and want to install projectpier

1st problem: When I go to [url]I get the errorThis Virtual Directory does not allow contents to be listed.

There is an index.php in there but doesn't load even though I have specified it as a default content page in the website..

2nd problem: After I manually browse to the install page I get the following errors:

#Error: /config/config.php is not writable

# Error: /public/files is not writable

# Error: /cache is not writable

# Error: /upload is not writable

I have realised that permissions are not setup right so I went and gave cart blanche access to the folder for any user..it worked but is far from secure.What is the best way to do this?

When installing web applications like this are they usually done from the servers browser where the server is the only one with full access.I tried this and it didn't work.

View 3 Replies View Related

Apt-get Php5 Or From Source

Jan 20, 2008

Running ubuntu server 6 if I apt-get php5 the version I get is 5.1.2.

Now the latest version on the php.net site is 5.2.5.

Does it really make much of a difference if I'm slightly below current? What are your thoughts please?

I know if I go compiling from source php and mysql are difficult to get working together which is why I like the apt-get method.

View 1 Replies View Related

Can We Run Both PHP4 And PHP5 Together

Jul 27, 2008

We have a client which site requires PHP4, not PHP5 to run. Can we run both PHP versions alongside each other? Apparently, their site will only work in PHP4. We are running Plesk 8.3.0 for Linux.

View 8 Replies View Related

Curl & GD On PHP5.2.5

Apr 12, 2008

I have PHP 5.2.5 compiled with GD library working on my webserver,
yesterday i wanted to add Curl Support, so i had to recompile php.

I downloaded and installed Curl latest version and tried to recompile PHP :

'./configure'
'--prefix=/usr/local/php'
'--enable-discard-path'
'--disable-force-cgi-redirect'
'--enable-shared'
'--disable-static'
'--disable-debug'
'--disable-rpath'
'--enable-pic'
'--enable-inline-optimization'
'--enable-memory-limit'
'--with-gd'
'--with-png-dir'
'--with-jpeg-dir'
'--with-config-file-path=/etc'
'--with-config-file-scan-dir=/etc/php'
'--with-pear=/usr/share/pear'
'--enable-magic-quotes'
'--enable-debugger'
'--enable-track-vars'
'--with-exec-dir=/usr/bin'
'--with-versioning'
'--with-mod_charset'
'--with-regex=php'
'--enable-track-vars'
'--enable-trans-sid'
'--enable-safe-mode'
'--enable-ctype'
'--enable-ftp'
'--with-gettext=/usr'
'--enable-posix'
'--enable-session'
'--enable-sysvsem'
'--enable-sysvshm'
'--with-openssl=/usr'
'--without-kerberos'
'--with-freetype-dir=/usr'
'--with-zlib=/usr'
'--with-zlib=/usr'
'--with-zlib-dir=/usr'
'--with-zlib-dir'
'--enable-xslt'
'--with-xslt-sablot'
'--with-iconv-dir=/usr/local/lib'
'--with-mysql-sock=/var/lib/mysql/mysql.sock'
'--with-mysql'
'--enable-mbstring=all'
'--enable-fastcgi'
'--enable-discard-path'
'--enable-force-cgi-redirect'
'--with-curl=/usr/local/curl'

I can't get it working, this is the error i get :

..

checking for T1lib support... no
checking whether to enable truetype string function in GD... no
checking whether to enable JIS-mapped Japanese font support in GD... no
checking for fabsf... yes
checking for floorf... yes
If configure fails try --with-jpeg-dir=<DIR>
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
If configure fails try --with-freetype-dir=<DIR>
configure: error: GD build test failed. Please check the config.log for
details.

I think i'm not the only one who is experiencing this problem, take a look here:
[url]

Why do PHP.net don't give much importance to this BUG?

I'm using the same OS : Centos 5

View 4 Replies View Related

Installing Php5

Mar 27, 2008

I recently installed ubuntu 7.10, and apache2. Both installed with no problems. In my browser i am able to type localhost, and i recieve the "It works" page. I can also start,stop and restart with no problems. However, I cannot install php5. I use synaptic package manager to install, and i added the appropriate lines to the httpd.conf file but i still cannot view .php files. I try to run a simple php page and a dialog box pops up prompting me to open or save the file. If i choose either, the box just pops up again.

View 15 Replies View Related

Uninstall PHP5

Jan 31, 2008

I compiled php5 from source, i'm running php5+lighttpd using fastcgi..

i want to uninstall php5 and install php4, i tried this :

[root@srvxx php-5.2.5]# make uninstall
make: *** No rule to make target `uninstall'. Stop.

anyone knows how to uninstall PHP5?

View 5 Replies View Related

(phpsuexec) How Can I Run Php5

Mar 31, 2008

i have a server run with phpsuexec and php4 default,

i want to let certain account run with php5,

it looks likely i can add a php.ini in the account,

View 2 Replies View Related

PHP5 Hosts

Jan 27, 2007

I'm trying to keep up with things by developing for PHP5. My current host still uses PHP 4.4.1, which is a pain. Can someone advise me if I should change host to someone who uses PHP5. I would rather have shared hosting due to budget. If so, who should I use? Otherwise, can someone point me in the direction of a resource that describes how to develop for PHP5 while retaining backward compatibility for PHP4.x so I can write code targeted primarily at PHP5, but also works on PHP4.x?

View 6 Replies View Related

VPS Upgrade To Php5

Aug 22, 2007

I have a slight problem I can manage most of the features on a VPS server, but I want to upgrade php4 to php5 on the server.

Problem is I have no idea where to start, Im using plesk control panel using WebFusion hosting.

Does anyone have any idea, articles etc. I have had a look online but come up with nothing that simply walks me through what I have to do.

View 10 Replies View Related

Php4 / Php5

Jan 26, 2007

i am getting Internal Server Error while accessing php5 pages.
cat .htaccess
AddHandler application/x-httpd-php5 .php
Premature end of script headers: /usr/local/cpanel/cgi-sys/php5

View 7 Replies View Related

PHP5, MySQL5

Jul 7, 2007

I've already managed to pick two web hosts for my business that probably won't do the job, so I'm looking for some advice. Primarily we need PHP 5 (with cURL), MySQL 5, easy to implement SSL and some kind of e-mail. I wouldn't imagine using more than 1gb monthly data transfer or needing more than about 20mb of storage.

The database design and all the code was custom written by me and a friend. We are not interested in overly-fluffy GUI's - we like power tools without the finger guards. We'd also like to have good logs of errors, accesses, etc.

Finally, I'm not interested in saving $10 a month to get an overloaded server that goes down now and then. Web host rates are pretty much trivial in comparison with the cost of downtime for this site.

View 21 Replies View Related

Mailparse Php5

Mar 13, 2007

I have installed PHP 5.2.1 (with this guide) working along side PHP 4.4.6, but I am trying to install mailparse into PHP5 and have not had much luck at it.

I think it maybe installing it for PHP 4 and not PHP5 as it seems to be the same date all the time: 20020429 and I believe it should be 2004 or newer from what I have read on Auracle Support Forum.

I have tried:

Code:
/bin/mount /tmp -o remount,exec
pecl install mailparse

pico /usr/local/Zend2/etc/php.ini
Added: extension=mailparse.so to the php.ini of PHP5

service httpd restart
/bin/mount /tmp -o remount,noexec
I have also tried installing from the tar file I wget with the following commands

Code:
cd /home/src/mailparse-2.1.1
/usr/local/php5/bin/phpize5
./configure
make
make install
Then I believe I did

Code:
pico /usr/local/Zend2/etc/php.ini
Changed: extension_dir to /usr/local/php5/lib/php/extensions/

cp /usr/local/lib/php/extensions/no-debug-non-zts-20020429/mailparse.so /usr/local/php5/lib/php/extensions/
But it still does not work

View 0 Replies View Related

Php4 + Php5

May 13, 2007

We have a server runing both php4 + php5 and had someone set it up that way when we got the server. but now i cant find who did it for us. And would like to hear how to do it. Im not the best with this kind of stuff and thats why i hire someone to do it lasttime

I been reading on cpanel.net but nothing is up to date!

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved