1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

Websites Done a lot since my last review - can I get another now

Discussion in 'Reviews' started by eVentureBiz, May 1, 2008.

  1. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Slow back in days of ver3, As of version 4 php and now v5.2 it is way ahead in the speed curve.
    Server Side Scripting is the way today's Web pages are run. Static Web sites (no dynamics) that just have information and no interactivity with server programs are becoming less of the norm.
    You still write your beloved html, you just include php pages on the server.
    But again what type of server are you on? You could run asp with .NET which Compiles Code, such as C#, into what its creators have termed MSIL, or Microsoft Intermediate Language. This roughly resembles Java's bytecode, the "binary" you have after you compile the source code. or php which is Interpreted Code.
    ASP is not a straight forward program that can be picked up from scratch easily.
    Ms has managed to keep asp alive yet to feed another cash stream.
    However this is typical of a Microsoft application and MS servers.
    php is easy to learn and the available support for it is through the roof. The Web has always been about individuals banding together to create resources for one another. PHP is loved by the Web community and you will find and abundance of tutorials, tools, Web sites and other online support ready and available to guide you from your Web sites conception to it's launch.
    And yes you would have to rename some or all of your pages to php or all to asp.
    It all gets down to what you feel comfortable with. BetaMax vs VCR, HDDVD vs BlueRay. For me php, for my hugh customer who has had all his eggs in MS and would cost him a fortune to change asp with .NET.
  2. pezboy45

    pezboy45 Mod/Design & Coder [Pro]

    Actually, FP includes is even slower than php.
    So, .shtml would actually be the best.
    here is a website I'm currently designing (with a template (from FWT))
    you might recognize it (or not).
    that uses .shtml.
    (don't worry about the menu, I just wanted it to be functional, I've got a whole new design for it (the menu) coming.
  3. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    Why Andrew do you want to use .shtml, when the programming world has moved on from this old style. You have in your header jquery.js which incorporates Ajax (asynchronous JavaScript and XML) is a group of inter-related web development techniques used for creating interactive web applications. This client side not server side.
  4. eVentureBiz

    eVentureBiz New Member

    I have 3 includes on my site (footer.htm, sidebar.htm, and main_menu_bar.htm). Since I don't code in php, could you tell me what kind of code (syntax) I'd need to place in my index file, for example, to include these files?

    Would you say php5 is a lot faster than ver 4? I tried switching my Wordpress blog from ver4 to 5 but it wouldn't run so I left it on 4.

  5. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    What kind of server are you on.
    Do you have FP extensions turned on.
    Most All linux and apache servers are on php5 now.
    and it is blazingly fast, there is no lag at all.
    what is in your .htacess file ?
    how was your php.ini file setup?
  6. eVentureBiz

    eVentureBiz New Member

    - I'm on a Linx server.
    - Running FP extensions
    - Running Wordpress on php4 but I have 5 available (a simple switch to run Wordpress on ver 5 causes my blog to crash (I also have php6 beta available)

    - don't have a .htacess file set up. One option I do have is to "Enable php code in html files" inside my .htacess generator application

    - I'm not sure about the php.ini. Where would that file be?
  7. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    You are on a Apache server with linux os with support for fp extensions.
    I would look at expression web as it has support for the above. FP 2003 was designed for win servers.

    Wordpress crashed when I upgraded to php5.
    After you upgrade to PHP 5, did you have the mysql extension enabled in PHP 5's INI file?
    WordPress requires MySQL. MySQL works via a client-server methodology; a MySQL server must always be running, and the clients, such as the blog software, connect to the server, manipulate the data, then disconnect. The golden rule - Thou Shalt Not Touch for risk of fouling things up.
    You said earlier you don't program in php, but look at the structure of Wordpress it is written in php.

    Where to put the php.ini file?
    copy this file to
    ; all directories, including subdirectories, that have PHP files in them.
    Make sure you set the environment variables first.
    The latest and stable version is 5.2.6

    The first and most important rule on a Apache server is to setup your .htaccess file in your root directoy and if needed in any sub-directory.

    It you want to know what php is loaded use notepad, copy this file, name it phpinfo.php put it into your root dir of your public_html, call it from your browser.

    <?php /* Created on: 5/22/2008 */ ?>
    // Show all information, defaults to INFO_ALL
    // Show just the module information.
    // phpinfo(8) yields identical results.
  8. eVentureBiz

    eVentureBiz New Member

    I found the php.ini file. I have two directories:

    php 4 and php 5

    I'm currently running php 4 and I have the MySQL set up (it's needed for Wordpress, as you know).

    I can open the php.ini in both the 4 and 5 directory, but I have no idea what I'm looking at. Am I suppose to point the MySQL database to using the php.ini file in the php 5 directory? I don't want to screw anything up.....

    About the .htaccess - I'm not completely sure what that's for and why I would need to set that up in my root directory. If I do set it up, what should I "set up?"

    Thanks again, Dave.
  9. pezboy45

    pezboy45 Mod/Design & Coder [Pro]

  10. eVentureBiz

    eVentureBiz New Member

    Well, I have designed a few sites with FP and I think they've turned out nice (see my home page). However, I do admit I don't use many FP features and do most the coding myself.

    Thanks for the link. I'll read it now.
  11. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    First of all my mistake on having the MYSQL extension enabled as ver5 has the support built in, so no additional dll's are required. you would have found it under the ;Windows Extensions, there is where you can add or comment out what you want. The rest of the file gives you abroad range of switches to customize as you need. I can't tell you your needs are only you can do that based on the configuration your server is set for. After all you are the Hosting Company and the public shouldn't know that part of your business.

    WP requirements
    PHP version 4.3 or greater
    MySQL version 4.0 or greater
    Apache or Litespeed servers

    Not sure how your server is set up, but I am confused as to the "4 and 5 directory". php is like any other program when you upgrade, there should still be only 1 directory from which commands are called.

    Do you have phpMyAdmin and do you use it to handle the administration of MySQL. I would suggest using it to see if there is a problem. If it is not there, then you did something strange in WP.

    On the subject of .htaccess I can only say get sure.
  12. eVentureBiz

    eVentureBiz New Member

    Hey ishkey.

    I'm not the hosting tech, that's not my area of expertise. I'm the owner/entrepreneur and have somehow gotten onto this subject in this forum and have been carrying on the conversation here. I just emailed my hosting tech to see what his response is to why my switch to php 5 crashed my blog.

    As for the two directories, php 4 and php 5 contain different bits of information in their .ini files, as far as I know. So when I tell my server to run my scripts using either 4 or 5 it has to know where to look.
  13. pezboy45

    pezboy45 Mod/Design & Coder [Pro]

    Like, on my host.
    I can choose what I want each domain to run, (4 or 5)
    As well as other features (Security, Fast CGI, or mod_perl).

    It's really a matter of preference, of which version you use.
  14. eVentureBiz

    eVentureBiz New Member

    Ok, my guy told me that switching shouldn't be a problem and it appears the problem is either in the code that my blog's template designer used or a plugin that I'm using that's not compatible with ver 5.

    We're going to take a look and let you know. Thanks

    By the way . . . I'd appreciate anyone else's opinion on my website and provide me with some feedback. http://www.eventurebiz.com

    Thanks again
  15. eVentureBiz

    eVentureBiz New Member

    Thanks pezboy - yeah my tech told me it should work unless there's a problem with the coding in any files I'm using.
  16. eVentureBiz

    eVentureBiz New Member

    Well, I've switched it to version 5 and it's working fine. I have deleted a few plugins in the past since my last try as the newer version or wordpress does not support those plugins. Perhaps it was one of them?

    Whatever the case, it's working. Thanks for the help pez and ishkey.
  17. pezboy45

    pezboy45 Mod/Design & Coder [Pro]

    Your welcome!
  18. ishkey

    ishkey Moderator, Logos, Sports Crests Staff Member Verified Member

    I am curious as to which hosting companies you guys use.
    Running two versions of system software on the same server would be one heck of a challenge. I can understand different servers with different system software.
    Like I said just curious.
  19. pezboy45

    pezboy45 Mod/Design & Coder [Pro]

  20. eVentureBiz

    eVentureBiz New Member

    Hosting - I use our service, eVentureBiz web hosting.

    Re: the two php folders - I think you misunderstood. Sorry for not being clear, as I mentioned I'm not our server's tech and they are the ones who take care of my needs in these matters.

    Our servers don't run multiple versions of php, just one. The version 4 folder was created when I first installed Wordpress and ran it using php4. Once we upgraded our servers to ver 5 I had the option to run ALL my scripts using php5. Once I upgraded to 5, it created a new folder containing the necessary files for version 5 but did not delete the old folder version 4 used.