Jump to content

DaveM

Members
  • Posts

    13
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

DaveM's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I have requested that my account be deleted and I see that it has not been done?????? Can this please be sorted out ??? ??? ??? ???
  2. Well I am fairly new here but I find the following things a bit irritating ??? 1. Why is the modify function basically set to 0. You make a post and a few second later want to add and you cannot modify the original post. 2. Cannot upload even the smallest of files. (config files) 3. Web site is super slow.
  3. You may want to look here http://www.phpfreaks.com/forums/index.php/topic,185780.msg831834.html#msg831834
  4. Well if you would like to go over to using Apache then maybe I can get you up and running ???
  5. Well I have been struggling for a few days now to get this configuration working and I have not been able to find anyone that can actually get me to a point of a working installation. So here is how I did it. 1. Download all the software. a. SMF 1.1.4 b. PHP 5.2.5 zip package (make sure it is the zipped package and not the installer) from http://www.php.net/downloads.php c. Apache httpd-2.2.8-win32-src.zip from http://httpd.apache.org/download.cgi d. mysql-5.0.51a-win32 from http://www.mysql.com/ 2. Ok now install the MySQL nothing fancy to this. Just do the install and run the setup afterwards. 3. Now install Apache also just run the setup and let it install. It will start the service one it has installed you can stop the service until you are ready for it later. 4. Unzip the php zipped file to c:\php 5. Ok now go to this site and they will explain how to configure you config files http://www.thesitewizard.com/php/install-php-5-apache-windows.shtml 6. Also remember to add your php to you system path in control panel. Open up system click on the advanced tab. Now select Environment Variables. In the System Variables select new the name will be php and the variable will be c:\php. Save and close. PLEASE NOTE that on the web site that I listed above they forgot one crucial setup of your php.ini please make sure you do this as well Uncomment the following line extension=php_mysql.dll I have also increased the upload file size as I need huge uploads on my system this must be done in you php.ini (900m = 900 Megs) ; Maximum size of POST data that PHP will accept. post_max_size = 900M And ; Maximum allowed size for uploaded files. upload_max_filesize = 900M I have also attached my two config file for your convenience Download php.ini Download apache config I was not sure what area this should go in as it covers a few applications so I posted it here, please move if needed
  6. Ok I have PHP in the path that was one of the first things I did after the install. Now I think I may be seeing where it is all going wrong as I do not have “ext” folder in my install. Looking at the PHP.net I find that there are the following files that can be downloaded PHP 5.2.5 zip package [9,713Kb] - 08 November 2007 md5: a1e31c0d872ab030a2256b1cd6d3b7d1 PHP 5.2.5 installer [19,803Kb] - 15 November 2007 md5: f9396b654721d9a18c95ea6412c3d54e Note: Updated due to problems with the original installer for this release. PECL 5.2.5 Win32 binaries [2,879Kb] - 08 November 2007 md5: a3553b61c9332d08a5044cf9bf89f2df PHP 5.2.5 Non-thread-safe Win32 binaries [9,619Kb] - 08 November 2007 md5: 41ef1582f43cfdb6e546a626b9ef93d6 PECL 5.2.5 Non-thread-safe Win32 binaries [4,114Kb] - 08 November 2007 md5: 6e5ac694907b4aae080b2c9b6e83748a Note: (Most of these PECL extension files come standard with the PHP 4 Windows binaries, but have since been moved into this separate PECL download. Files such as php_pdf.dll, php_ssh2.dll, etc.) This one (PHP 5.2.5 installer) seems to be an installer version that has an executable file that seems to do it all. However when I install it and try and install SMF it tells me that php has not been configured in MySQL? If I take this one (PHP 5.2.5 zip package) it unzips to be a complete folder with all its sub folders, now I cannot see any installer in this one? I try and read the installation file and it tells me about some installer that I cannot find or know what they are talking about. So now do I need to use both the PHP 5.2.5 installer and PHP 5.2.5 zip package when doing the installation. If yes how do I do this, do I use the installer first and then copy the unzipped zip package into my now PHP installed folder under program Files PHP?
  7. Sorry I should have given more information on this post. I started a topic earlier on but I thought maybe it was not going in the right direction as I was getting little response on it. This is why I started this one just on the php side of it. I actually got the whole thing running and had just completed the entire configuration with the forum structure and everything was working 100%, after a huge struggle to get there. Of course I had a HD crash (go figure) so I started from scratch. I have the entire folders backed up but now I just cannot get it to work again and getting stuck at this point. Maybe if you have a look at the other topic here it may give you more info as to where I am right now. It just seems that with teh php I am not getting a good clean install like I am going wrong someplace. http://www.phpfreaks.com/forums/index.php/topic,185496.msg830552.html#msg830552
  8. Ok I would like to know how to install PHP on a windows server. It seems I can get it to work but just by sheer luck. I have tried reading through the documentation but it seems so defragmented that I lose track being directed here an then there. So firstly I go to php.net to download the files and I am then presented with a number of different ones Windows Binaries  PHP 5.2.5 zip package [9,713Kb] - 08 November 2007 md5: a1e31c0d872ab030a2256b1cd6d3b7d1  PHP 5.2.5 installer [19,803Kb] - 15 November 2007 md5: f9396b654721d9a18c95ea6412c3d54e Note: Updated due to problems with the original installer for this release.  PECL 5.2.5 Win32 binaries [2,879Kb] - 08 November 2007 md5: a3553b61c9332d08a5044cf9bf89f2df  PHP 5.2.5 Non-thread-safe Win32 binaries [9,619Kb] - 08 November 2007 md5: 41ef1582f43cfdb6e546a626b9ef93d6  PECL 5.2.5 Non-thread-safe Win32 binaries [4,114Kb] - 08 November 2007 md5: 6e5ac694907b4aae080b2c9b6e83748a Note: (Most of these PECL extension files come standard with the PHP 4 Windows binaries, but have since been moved into this separate PECL download. Files such as php_pdf.dll, php_ssh2.dll, etc.) This one (PHP 5.2.5 installer) seems to be an installer version that has an executable file that seems to do it all. However when I install it and try and install SMF it tells me that php has not been configured in MySQL? If I take this one (PHP 5.2.5 zip package) it unzips to be a complete folder with all its sub folders, now I cannot see any installer in this one? I try and read the installation file and it tell me about some installer that I cannot find or know what they are talking about. So can one of you kind people please direct me in the right direction as to what files I need to download to be able to get a working php installation?
  9. It is in the root of my PHP folder php_mysqli.dll 88 KB 2008/02/21
  10. I have gone through that documentation and it basically just tell me that MySQL is not loaded by default in this version. I already know that but cannot work out how to fix it ???
  11. Here is my php.ini file ??? cannot upload it ??? So here are the MySQL parts out of it ;;;;;;;;;;;;;;;;;;;;;; ; Dynamic Extensions ; ;;;;;;;;;;;;;;;;;;;;;; ; ; If you wish to have an extension loaded automatically, use the following ; syntax: ; ; extension=modulename.extension ; ; For example, on Windows: ; ; // MySQL extension extension=php_mysql.dll [MySQL] ; Allow or prevent persistent links. mysql.allow_persistent = On ; Maximum number of persistent links. -1 means no limit. mysql.max_persistent = -1 ; Maximum number of links (persistent + non-persistent). -1 means no limit. mysql.max_links = -1 ; Default port number for mysql_connect(). If unset, mysql_connect() will use ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look ; at MYSQL_PORT. mysql.default_port = ; Default socket name for local MySQL connects. If empty, uses the built-in ; MySQL defaults. mysql.default_socket = ; Default host for mysql_connect() (doesn't apply in safe mode). mysql.default_host = ; Default user for mysql_connect() (doesn't apply in safe mode). mysql.default_user = ; Default password for mysql_connect() (doesn't apply in safe mode). ; Note that this is generally a *bad* idea to store passwords in this file. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password") ; and reveal this password! And of course, any users with read access to this ; file will be able to reveal the password as well. mysql.default_password = ; Maximum time (in seconds) for connect timeout. -1 means no limit mysql.connect_timeout = 60 ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and ; SQL-Errors will be displayed. mysql.trace_mode = Off [MySQLi] ; Maximum number of links. -1 means no limit. mysqli.max_links = -1 ; Default port number for mysqli_connect(). If unset, mysqli_connect() will use ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the ; compile-time value defined MYSQL_PORT (in that order). Win32 will only look ; at MYSQL_PORT. mysqli.default_port = 3306 ; Default socket name for local MySQL connects. If empty, uses the built-in ; MySQL defaults. mysqli.default_socket = ; Default host for mysql_connect() (doesn't apply in safe mode). mysqli.default_host = ; Default user for mysql_connect() (doesn't apply in safe mode). mysqli.default_user = ; Default password for mysqli_connect() (doesn't apply in safe mode). ; Note that this is generally a *bad* idea to store passwords in this file. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw") ; and reveal this password! And of course, any users with read access to this ; file will be able to reveal the password as well. mysqli.default_pw = ; Allow or prevent reconnect mysqli.reconnect = Off [mSQL] ; Allow or prevent persistent links. msql.allow_persistent = On ; Maximum number of persistent links. -1 means no limit. msql.max_persistent = -1 ; Maximum number of links (persistent+non persistent). -1 means no limit. msql.max_links = -1
  12. Ok I must admit I am not sure what you mean here, how do I compile PHP with MySQL, ???
  13. I have hit a problem while installing SMF 1.1.4 Ok let me give a bit of background here. I am the host so I will be setting up the whole thing. I am using the following software WindowXP Pro SP2 Apache2.2 MySQL Server 5.0 PHP 5.2.5 Win32 Now I install all the software as instructed but when I come to setting up SMF I get the following error when running install.php.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.